﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Shared/ContentMaster.master"
    CodeFile="changePwd.aspx.cs" Inherits="ltMan_users_changePwd" %>

<asp:Content ID="C1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="C2" ContentPlaceHolderID="CPH1" runat="Server">
    <telerik:RadAjaxManagerProxy runat="server" ID="proxy1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadSave">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="mainPanel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadDock ID="RadDock1" runat="server" Width="70%" Title="<div class='ta-center'><b>修改密码</b></div>"
        DockMode="Docked" EnableRoundedCorners="true" Top="" Left="" DefaultCommands="None"
        Pinned="True">
        <ContentTemplate>
            <asp:Panel ID="mainPanel" runat="server" class="pad10">
                <telerikEx:InfoPanel runat="server" ID="infoPanel" />
                <table class="stab" align="center">
                    <tr>
                        <td>
                            原密码：
                        </td>
                        <td>
                            <telerik:RadTextBox runat="server" ID="oldpw" TextMode="Password" Width="215" MaxLength="20" /><asp:RequiredFieldValidator
                                ID="r1" ErrorMessage="原密码必填" Display="None" ControlToValidate="oldpw" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            新密码：
                        </td>
                        <td>
                            <telerik:RadTextBox runat="server" ID="newpw" TextMode="Password" Width="215" MaxLength="20" /><asp:RequiredFieldValidator
                                ID="r2" ErrorMessage="新密码必填" Display="None" ControlToValidate="newpw" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            确认密码：
                        </td>
                        <td>
                            <telerik:RadTextBox runat="server" ID="newpw2" TextMode="Password" Width="215" MaxLength="20" />
                            <asp:CompareValidator ErrorMessage="两次新密码不一致" Display="None" ControlToValidate="newpw"
                                ControlToCompare="newpw2" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" class="ta-center">
                            <telerik:RadButton ID="RadSave" runat="server" Text="保存" ToolTip="保存" Icon-PrimaryIconCssClass="icon-save"
                                OnClick="RadSave_Click" />
                        </td>
                    </tr>
                </table>
            </asp:Panel>
        </ContentTemplate>
    </telerik:RadDock>
</asp:Content>